package me.winds.test;

import android.app.Dialog;
import android.content.Context;
import android.view.Gravity;

import me.winds.wrapper.ViewHelper;
import me.winds.wrapper.WrapperDialog;


/**
 * Auther:  winds
 * Data:    2018/5/3
 * Version: 1.0
 * Desc:
 */


public class LoadingDailog extends WrapperDialog {

    public LoadingDailog(Context context) {
        super(context);
    }

    @Override
    public int getLayoutRes() {
        return R.layout.dialog_loading;
    }

    @Override
    protected void setDialogParams(Dialog dialog) {
        setDialogParams(dialog, Gravity.CENTER);
        dialog.setCanceledOnTouchOutside(false);
    }

    @Override
    public void help(ViewHelper helper) {

    }


}
